package controllers.deckControlers;

import java.util.Collections;

import classes.cards.ICard;
import classes.cards.IInfectionCard;
import classes.deck.Deck;

public class InfectionDeckController extends DeckController {
	
	@Override
	public IInfectionCard drawCard(Deck deck) {
		return (IInfectionCard)super.drawCard(deck);
	}

	private IInfectionCard drawFromBottom(Deck deck) {
		return ((IInfectionCard) deck.getDeck().getFirst());
	}

	private void returnDiscardPileToTop(Deck deck) {
		Collections.shuffle(deck.getDiscardPile());
		deck.getDeck().addAll(deck.getDiscardPile());
	}
}
